<?php
//创建session
header("Content-type:text/htm;charset=utf-8");
//一定要用start开启
session_start();
$_SESSION['name'] = 'panying';
echo $_SESSION['name']; //输出panying



















